home *** CD-ROM | disk | FTP | other *** search
/ SGI Desktop Special Edition 1.1 / SGI Desktop Special Edition 1.1.iso / dist / mmail.idb / usr / lib / Zmail / mailcap.z / mailcap
Encoding:
Text File  |  1995-11-13  |  8.1 KB  |  163 lines

  1. # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
  2. # Permission to use, copy, modify, and distribute this material 
  3. # for any purpose and without fee is hereby granted, provided 
  4. # that the above copyright notice and this permission notice 
  5. # appear in all copies, and that the name of Bellcore not be 
  6. # used in advertising or publicity pertaining to this 
  7. # material without the specific, prior written permission 
  8. # of an authorized representative of Bellcore.  BELLCORE 
  9. # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  10. # OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  11. # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  12. #
  13. # Mailcap file for MediaMail
  14. #
  15. # Note that users may override or extend this with a .mailcap
  16. # file in their own directory.  However, there is NO NEED
  17. # for them to copy entries from this file, as metamail will
  18. # pick up entries from both the system and personal mailcap files.
  19.  
  20. message/partial; showpartial %s %{id} %{number} %{total}
  21. message/external-body; showexternal %s %{access-type} %{name} %{site} %{directory} %{mode} %{server}; \
  22.     needsterminal; composetyped = extcompose %s; \
  23.     description="A reference to data stored in an external location"
  24.  
  25. # You can alter the above entry to only use certain access-types by
  26. # adding a clause like the following before the "description=" line:
  27. #    test=test %{access-type}  = mail-server;  \
  28.  
  29. # The following give rudimentary capabilities to read old andrew format
  30. # even to non-Andrew sites, since "ezview" comes with metamail.
  31. x-be2;    ezview %s ; copiousoutput
  32. application/andrew-inset;    ezview %s ; copiousoutput; edit=ez -d %s; compose="ez -d %s"; description="An Andrew inset/document"
  33.  
  34. # The following gives rudimentary capability for receiving
  35. # text mail in the ISO-8859-1 character set, which covers many European
  36. # languages, and the ISO-8859-8 character set, which includes Hebrew
  37. # Note that the pipe to tr ensures that the "ISO" is case-insensitive.
  38. text/richtext; shownonascii iso-8859-8 -e richtext -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-8; copiousoutput
  39. text/richtext; shownonascii iso-8859-1 -e richtext -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-1; copiousoutput
  40. text/plain; shownonascii iso-8859-8 %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-8; copiousoutput
  41. text/plain; shownonascii iso-8859-1 %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-1; copiousoutput
  42. text/enriched; shownonascii iso-8859-8 -e richtext -e -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-8; copiousoutput
  43. text/enriched; shownonascii iso-8859-1 -e richtext -e -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-1; copiousoutput
  44.  
  45. # The following displays Japanese text at sites where the "kterm" program is installed:
  46. text/plain; kterm -geometry +0+0  -e more %s /dev/null; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-2022-jp
  47.  
  48. text/richtext; richtext %s; copiousoutput
  49. # If you have Andrew at your site, you MIGHT prefer to replace the
  50. # above line with the following one, but probably won't because
  51. # ez takes so long to start up.
  52. # text/richtext; richtoatk < %s | ezview - ; copiousoutput
  53. text/enriched; richtext -e %s; copiousoutput
  54.  
  55. # The following is used for distributing metamail patches
  56. # It should probably be used only by those administering metamail at a site.
  57. # You will need to replace "source-tree-root" with the real root of your
  58. # actual metamail source tree.
  59. # You can also modify this line to get metamail patches from some trusted
  60. # server other than thumper, if there is one -- man patch-metamail" for help.
  61. application/x-metamail-patch; cat %s > /dev/null \; patch-metamail source-tree-root %{patchnumber}; needsterminal
  62.  
  63. # The following is for support of MacMIME, especially those
  64. # the Columbia AppleTalk package (CAP) installed.
  65. # For more info about MacMIME, send email to paf@nada.kth.se
  66. #
  67. # If you don't have CAP, and haven't changed rcvAppleSingle
  68. # or sndAppleSingle, you should comment out this line.
  69. application/applefile; rcvAppleSingle %s; compose="sndAppleSingle %s";description="An Apple Macintosh file in AppleSingle format"
  70.  
  71. #
  72. # imgview currently can view SGI, TIFF, JFIF/JPEG, and GIF formats.
  73. #
  74. image/x-sgi-image; imgview -nofork %s; compose=imgworks %s; \
  75.     description="SGI image"; \
  76.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  77. image/x-bitmap; bitmap %s; description="X11 bitmap"; \
  78.     x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
  79. image/x-xpm1; olpixmap %s; description="OL pixmap"; \
  80.     x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
  81. image/tiff;imgview -nofork %s; compose=imgworks %s; description="TIFF image"; \
  82.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  83. image/gif;imgview -nofork %s; compose=imgworks %s; description="GIF image"; \
  84.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  85. image/jpeg;imgview -nofork %s; compose=imgworks %s; description="JFIF image"; \
  86.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  87. image/jpg;imgview -nofork %s; compose=imgworks %s; description="JFIF image"; \
  88.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  89. image/x-xwd; showpicture %s; \
  90.     description="An X11 window image dump in X-XWD format"
  91. #
  92. #
  93. audio/x-aifc; soundplayer %s; compose=soundeditor %s;    \
  94.     description="AIFC Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  95. audio/x-aiff; soundplayer %s; compose=soundeditor %s;    \
  96.     description="AIFF Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  97. audio/x-next; soundplayer %s; compose=soundeditor %s;    \
  98.     description="NeXT Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  99. audio/x-wav; soundplayer %s; compose=soundeditor %s;    \
  100.     description="WAVE Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  101. audio/x-mpeg; soundplayer %s; \
  102.         description="MPEG Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  103. audio/basic; sfplay -inputraw mulaw channels 1 rate 8000 end %s; \
  104.     description="Audio"
  105. audio/*; soundplayer %s
  106. #
  107. #
  108. # Movieplayer understands SGI, QuickTime, MPEG Video, and MPEG Systems
  109. #
  110. video/x-sgi-movie; movieplayer -v -nofork %s; compose=moviemaker %s; \
  111.     description="SGI Movie"; \
  112.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  113. video/mpeg; movieplayer -v -nofork %s; compose=moviemaker %s; \
  114.     description="MPEG Movie"; \
  115.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  116. video/x-mpeg; movieplayer -v -nofork %s; compose=moviemaker %s; \
  117.     description="MPEG Movie"; \
  118.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  119. video/x-mpeg-system; movieplayer -v -nofork %s; compose=moviemaker %s; \
  120.     description="MPEG Movie"; \
  121.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  122. video/quicktime; movieplayer -v -nofork %s; compose=moviemaker %s; \
  123.     description="QuickTime Movie"; \
  124.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  125. #
  126. application/x-showcase; showcase -f %s; \
  127.     compose=showcase %s; description="Showcase document"; \
  128.     x11-bitmap="/usr/lib/Zmail/bitmaps/showcase.xbm"
  129. application/x-framemaker; fmclient -f %s; \
  130.     compose=fmclient -f %s; description="FrameMaker document"; \
  131.     x11-bitmap="/usr/lib/Zmail/bitmaps/frame.xbm"
  132. application/x-wingz; Wingz %s; compose=Wingz %s; \
  133.     description="Wingz document"; \
  134.     x11-bitmap="/usr/lib/Zmail/bitmaps/wingz.xbm"
  135. application/x-SYLK; Wingz %s; compose=Wingz %s; \
  136.     description="Spreadsheet in SYLK format"; \
  137.     x11-bitmap="/usr/lib/Zmail/bitmaps/wingz.xbm"
  138. graphics/x-inventor; /usr/sbin/ivview %s; description="Inventor file"; \
  139.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  140. application/postscript; /usr/bin/X11/xpsview %s; \
  141.     description="PostScript Language"
  142. application/x-annotator; /usr/sbin/annotator -v -r %s; \
  143.     description="IRIS Annotator file"; compose=/usr/sbin/annotator %s; \
  144.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  145. application/x-form; /usr/local/bin/form %s; \
  146.     description="Form"
  147.  
  148. # The following is for interoperability with Z-Mail version 3.0 and beyond.
  149. # To enable this compatibility, uncomment all of the following lines.
  150. #
  151. # For more info about Z-Mail, send email to info@z-code.com
  152. #
  153. application/x-zm-fax; zfax %s; description="Z-Fax document"; \
  154.     x11-bitmap="/usr/lib/Zmail/bitmaps/fax.xbm"
  155. application/x-jot; jot -f %s; compose=jot -f %s; description="Jot document"; \
  156.     x11-bitmap="/usr/lib/Zmail/bitmaps/jot.xbm"
  157.  
  158. # Old Z-mail format
  159. #x-zm-multipart: sun-to-mime %s
  160.  
  161. default; cat %s; copiousoutput
  162.